package com.litchishell.ssmdemo.jdbc;

import java.util.List;

/**
 * @author LitchiShell
 * @description:
 * @create 2022-04-17
 */
public interface AccountDao {
    int addAccount(Account account);

    int updateAccount(Account account);

    int deleteAccount(int id);

    Account selectAccountById(int id);

    List<Account> selectAccounts();

    void transfer(String outUser, String inUser, Double money);
}
